<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<f:view contentType="text/html">
	
	<h:head>
		<title>Brokers Peru - JR Consultores </title>
		<meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
		<link type="text/css" rel="stylesheet" href="#{request.contextPath}/css/default.css" />
		<link type="text/css" rel="stylesheet" href="#{request.contextPath}/themes/#{guestPreferences.theme}/skin.css" />
		<link type="text/css" rel="stylesheet" href="#{request.contextPath}/syntaxhighlighter/styles/syntaxhighlighter.css" />
		<style type="text/css">
			.new {
				background: url(../images/new-ico.gif) no-repeat 1%;
			}
			
			.ui-widget {
				font-size: 98% !important;
			}
			
			.ui-menu .ui-menu-item .ui-menu-item-label {
				padding: .2em 1.7em;
			}
			
			.ui-growl {
				top:115px;
			}
			
			.themeMenu {
				overflow: auto;
				height:300px;
				width:200px;
			}
		</style>
		<ui:insert name="head"></ui:insert>
	</h:head>

		<h:body>
		<div class="ui-widget ui-widget-header">
			<div id="logo">
				<h1>Brokers Peru - JR Consultores </h1>
			</div>
		</div>
	
		
		<div id="wrapper">
		
			<div id="page">
				<div id="sidebar1" class="ui-widget-content ui-corner-all ui-helper-clearfix sidebar" style="border: 0;margin-top: 0px;">
					<ul>
						<li>
							<table>
								<tr >
									<td><h:form id="frmMenu" prependId="false" >
										 <p:menu style="width:200px">  
									         <p:submenu label="Ordenes">  
									         	<p:menuitem value="Ingreso de Ordenes"   
									                     url="/ai/registoHorario.jsf"  
									                     update="messages" icon="/images/new.png"/>  
									            <p:menuitem value="Gestion de Ordenes"    
									                     url="/ai/frmOrden.jsf"    
									                     update="messages" icon="/images/doc.png"/>  
									         </p:submenu>  
									         <p:submenu label="Polizas">  
									             <p:menuitem value="Save"   
									                     actionListener="#{buttonBean.save}"   
									                     update="messages" icon="/images/save.png"/>  
									             <p:menuitem value="Update"   
									                     actionListener="#{buttonBean.update}"   
									                     update="messages" icon="/images/update.png"/>  
									         </p:submenu>  
									         <p:submenu label="Custodia">  
									             <p:menuitem value="Save"   
									                     actionListener="#{buttonBean.save}"   
									                     update="messages" icon="/images/save.png"/>  
									             <p:menuitem value="Update"   
									                     actionListener="#{buttonBean.update}"   
									                     update="messages" icon="/images/update.png"/>  
									         </p:submenu>  
									         <p:submenu label="Clientes">  
									             <p:menuitem value="Gestion de Clientes"   
									                     actionListener="#{buttonBean.delete}"   
									                     update="messages" ajax="false" icon="/images/delete.png"/>  
									         </p:submenu>  
									         <p:submenu label="Tablas Secundarias">  
									             <p:menuitem value="Home" url="http://www.primefaces.org"   
									                     icon="/images/home.png"/>  
									             <p:menuitem value="TouchFaces" url="#{request.contextPath}/touch"   
									                     icon="/images/mobile.png"/>  
									         </p:submenu>  
									     </p:menu>
									     </h:form>  
									</td>
								</tr>
								<tr>
									<td colspan="2" align="left" style="padding:8px;">
										<h:form id="themeForm">
											<p:commandButton id="themeButton" value="Cambiar Tema: #{guestPreferences.theme}" onclick="themeMenu.show()" type="button" style="width:100%"/>
											<p:menu widgetVar="themeMenu" position="dynamic" context="'themeForm:themeButton','tl','bl'" styleClass="themeMenu">
												<p:submenu label="Themes">
                                                    <p:menuitem value="Aristo" ajax="false"><f:setPropertyActionListener value="aristo" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Black-Tie" ajax="false"><f:setPropertyActionListener value="black-tie" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Blitzer" ajax="false"><f:setPropertyActionListener value="blitzer" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="BlueSky" ajax="false"><f:setPropertyActionListener value="bluesky" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Casablanca" ajax="false"><f:setPropertyActionListener value="casablanca" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Cupertino" ajax="false"><f:setPropertyActionListener value="cupertino" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Dark-Hive" ajax="false"><f:setPropertyActionListener value="dark-hive" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Dot-Luv" ajax="false"><f:setPropertyActionListener value="dot-luv" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Eggplant" ajax="false"><f:setPropertyActionListener value="eggplant" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Excite-Bike" ajax="false"><f:setPropertyActionListener value="excite-bike" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Flick" ajax="false"><f:setPropertyActionListener value="flick" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Hot-Sneaks" ajax="false"><f:setPropertyActionListener value="hot-sneaks" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Humanity" ajax="false"><f:setPropertyActionListener value="humanity" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Le-Frog" ajax="false"><f:setPropertyActionListener value="le-frog" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Mint-Choc" ajax="false"><f:setPropertyActionListener value="mint-choc" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Overcast" ajax="false"><f:setPropertyActionListener value="overcast" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Pepper-Grinder" ajax="false"><f:setPropertyActionListener value="pepper-grinder" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Redmond" ajax="false"><f:setPropertyActionListener value="redmond" target="#{guestPreferences.theme}" /></p:menuitem>
                                                    <p:menuitem value="Sam" ajax="false"><f:setPropertyActionListener value="sam" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Smoothness" ajax="false"><f:setPropertyActionListener value="smoothness" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="South-Street" ajax="false"><f:setPropertyActionListener value="south-street" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Start" ajax="false"><f:setPropertyActionListener value="start" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Sunny" ajax="false"><f:setPropertyActionListener value="sunny" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Swanky-Purse" ajax="false"><f:setPropertyActionListener value="swanky-purse" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Trontastic" ajax="false"><f:setPropertyActionListener value="trontastic" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="UI-Lightness" ajax="false"><f:setPropertyActionListener value="ui-lightness" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="UI-Darkness" ajax="false"><f:setPropertyActionListener value="ui-darkness" target="#{guestPreferences.theme}" /></p:menuitem>
													<p:menuitem value="Vader" ajax="false"><f:setPropertyActionListener value="vader" target="#{guestPreferences.theme}" /></p:menuitem>
												</p:submenu>
											</p:menu>
										</h:form>									
									</td>
								</tr>
							</table>
							
						</li>
					</ul>
				</div>
		
				<div id="content" class="ui-widget">
					<div class="post">
						<ui:insert name="content">...</ui:insert>
					</div>
				</div>
				
				<div style="clear: both;">&nbsp;</div>
			</div>
		</div>
		
		<div id="footer" class="ui-widget ui-widget-header ui-corner-all">
			<p class="copyright"> Th3_RiC &copy;&nbsp;&nbsp;2009-2010 &nbsp;&bull;&nbsp; </p>
		</div>
		
	</h:body>
	
	<ui:insert name="highlight">
		<script language="javascript" src="#{request.contextPath}/syntaxhighlighter/scripts/shCore.js"></script>
		<script language="javascript" src="#{request.contextPath}/syntaxhighlighter/scripts/shBrushXml.js"></script>
		<script language="javascript" src="#{request.contextPath}/syntaxhighlighter/scripts/shBrushJava.js"></script>
		<script language="javascript" src="#{request.contextPath}/syntaxhighlighter/scripts/shBrushCss.js"></script>
		<script language="javascript" src="#{request.contextPath}/syntaxhighlighter/scripts/shBrushJScript.js"></script>
		<script language="javascript">
			dp.SyntaxHighlighter.ClipboardSwf = '#{request.contextPath}/syntaxhighlighter/scripts/clipboard.swf';
			dp.SyntaxHighlighter.HighlightAll('code');
		</script>
	</ui:insert>
	
</f:view>
</html>
